package com.atmilan.quartz.constant;

/**
 * 公共配置
 * @Description: 
 * @author daigb
 * @date 2021-01-21
 */
public class Constants {
    // 默认分页
    public static final int DEFAULT_PAGE = 1;
    // 默认分页
    public static final int DEFAULT_LIMIT = 20;

    // 时间相关
    public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
    public static final String DATE_FORMAT_UTC = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
    public static final String DATE_FORMAT_DATE = "yyyy-MM-dd";
    public static final String DATE_FORMAT_YEAR = "yyyy";
    public static final String DATE_FORMAT_MONTH_DATE = "MM-dd";
    public static final String DATE_FORMAT_MONTH = "yyyy-MM";
    public static final String DATE_TIME_FORMAT_NUM = "yyyyMMddHHmmss";
    public static final String DATE_FORMAT_NUM = "yyyyMMdd";
    public static final String DATE_FORMAT_START = "yyyy-MM-dd 00:00:00";
    public static final String DATE_FORMAT_END = "yyyy-MM-dd 23:59:59";
    public static final String DATE_FORMAT_MONTH_START = "yyyy-MM-01 00:00:00";
    public static final String DATE_FORMAT_YEAR_START = "yyyy-01-01 00:00:00";
    public static final String DATE_FORMAT_YEAR_END = "yyyy-12-31 23:59:59";
    public static final String DATE_FORMAT_HHMMSS = "HH:mm:ss";

    //config表数据redis
    public static final String CONFIG_LIST = "config_list"; //配置列表
    // 商户商品动态表名
    public static final String EB_STORE_PRODUCT_MER = "eb_store_product_mer";
    public static final String EB_STORE_PRODUCT_MER_MP = "eb_store_product_mer_{}_mp";

    //阿里云图片目录
    public static final String UPLOAD_FILE_WAREHOUSE_DIR= "product-warehouse-image/";

    // 商品类型 活动类型 0=商品，1=秒杀，2=砍价，3=拼团 attrResult表用到
    public static final int PRODUCT_TYPE_NORMAL = 0;
    public static final int PRODUCT_TYPE_SECKILL = 1;
    public static final int PRODUCT_TYPE_BARGIN = 2;
    public static final int PRODUCT_TYPE_GROUP = 0;
    // CND  URL测试用
    public static String CND_URL = "https://wuht-1300909283.cos.ap-chengdu.myqcloud.com";
    // 汇率计算
    public static final String EXCHANGE_EUR_NAME = "欧元"; // 欧元
    public static final String EXCHANGE_EUR_KEY = "exchange:eur:key"; // 欧元费率

    /** **** **** ****  费率相关 ** **** ********/
    // 系统基础加价率
    public static final String RATE_BUYER_2_CRMEB = "1.03";
    public static final String RATE_BUYER_2_LUXURY = "1.03";
    public static final String RATE_EUROPE_2_CRMEB = "1.03";
    public static final String RATE_EUROPE_2_LUXURY = "1.03";
    public static final String RATE_IM_2_CRMEB = "1.03";
    // 浮动加价率
    public static final String RATE_BUYER_2_CRMEB_FLOAT = "1.08";
    public static final String RATE_BUYER_2_LUXURY_FLOAT = "1.08";
    public static final String RATE_EUROPE_2_CRMEB_FLOAT = "1.08";
    public static final String RATE_EUROPE_2_LUXURY_FLOAT = "1.08";
    public static final String RATE_IM_2_CRMEB_FLOAT = "1.08";
    // 成本基础加价率
    public static final String RATE_BUYER_2_CRMEB_COST = "1.03";
    public static final String RATE_BUYER_2_LUXURY_COST = "1.03";
    public static final String RATE_EUROPE_2_CRMEB_COST = "1.03";
    public static final String RATE_EUROPE_2_LUXURY_COST = "1.03";
    public static final String RATE_IM_2_CRMEB_COST = "1.03";

    /** **** **** ****  拉取和下发任务状态 ** **** ********/
    public static final String IM_TOKEN = "im-token";
    public static final String BUYER_SYNC_STATUS = "buyer_sync_status";
    public static final String EUROPE_SYNC_STATUS = "europe_sync_status";
    public static final String IM_SYNC_STATUS = "im_sync_status";
    public static final String IM_PUSH_STATUS = "im_push_status";
    public static final String XYY_SYNC_STATUS = "xyy_sync_status";
    public static final String JKY_SYNC_STATUS = "jky_sync_status";
    public static final String JKY_PUSH_STATUS = "jky_push_status";
    public static final String VIETTI_SYNC_STATUS = "vietti_sync_status";
    public static final String LAVITA_SYNC_STATUS = "lavita_sync_status";
    public static final String COLTORTI_SYNC_STATUS = "coltorti_sync_status";
    public static final String LEAM_SYNC_STATUS = "leam_sync_status";
    public static final String BELLETTINI_SYNC_STATUS = "bellettini_sync_status";
    public static final String GB_SYNC_STATUS = "gb_sync_status";
    public static final String CAROTTA_SYNC_STATUS = "carotta_sync_status";
    public static final String FOLLI_SYNC_STATUS = "folli_sync_status";
    public static final String DELLOGLIO_SYNC_STATUS = "delloglio_sync_status";
    public static final String ORANGE_SYNC_STATUS = "orange_sync_status";
    public static final String PURE_SYNC_STATUS = "pure_sync_status";
    public static final String UNIBUY_SYNC_STATUS = "unibuy_sync_status";
    public static final String JST_SYNC_STATUS = "jst_sync_status";
    public static final String EFASION_SYNC_STATUS = "efasion_sync_status";
    public static final String GUANJP_SYNC_STATUS = "guanjp_sync_status";
    public static final String PAOLO_SYNC_STATUS = "paolo_sync_status";
    public static final String DAIGO_SYNC_STATUS = "daigo_sync_status";
    public static final String HIQER_SYNC_STATUS = "hiqer_sync_status";
    // 图搜
    public static final String TUSOU_SYNC_STATUS = "tusou_sync_status";
    // 阿里云OSS
    public static final String OSS_SYNC_STATUS = "oss_sync_status";
    // 聚水潭
    public static final String JST_ACCESS_TOKEN = "jst_access_token";
    public static final String JST_REFRESH_TOKEN = "jst_refresh_token";
    public static final String JST_CODE = "jst_code";

    /**
     * 大陆发货 收货时间
     */
    public static final String SYSTEM_CONFIG_CN_RECEIVING_TIME = "cn_receiving_time";

    /**
     * 港澳发货 收货时间
     */
    public static final String SYSTEM_CONFIG_HK_RECEIVING_TIME = "hk_receiving_time";

    /**
     * 欧洲发货 收货时间
     */
    public static final String SYSTEM_CONFIG_EUR_RECEIVING_TIME = "eur_receiving_time";

    /**
     * 港澳发货时间
     */
    public static final String SYSTEM_CONFIG_HK_DELIVERY_TIME = "hk_delivery_time";

    /**
     * 欧洲发货时间
     */
    public static final String SYSTEM_CONFIG_EUR_DELIVERY_TIME = "eur_delivery_time";
    //默认汇率id 欧洲
    public static final int DEFAULT_CURRENCY_ID = 11;

}
